Exact Algorithms for Coloring Graphs While Avoiding Monochromatic Cycles

نویسندگان

  • Fabrice Talla Nobibon
  • Cor A. J. Hurkens
  • Roel Leus
  • Frits C. R. Spieksma
چکیده

We consider the problem of deciding whether a given directed graph can be vertex partitioned into two acyclic subgraphs. Applications of this problem include testing rationality of collective consumption behavior, a subject in micro-economics. We prove that the problem is NP-complete even for oriented graphs and argue that the existence of a constant-factor approximation algorithm is unlikely for an optimization version which maximizes the number of vertices that can be colored using two colors while avoiding monochromatic cycles. We present three exact algorithms, namely an integer-programming algorithm based on cycle identification, a backtracking algorithm, and a branch-and-check algorithm. We compare these three algorithms both on real-life instances and on randomly generated graphs. We find that for the latter set of graphs, every algorithm solves instances of considerable size within few seconds; however, the CPU time of the integer-programming algorithm increases with the number of vertices in the graph more clearly than the the CPU time of the two other procedures. For real-life instances, the integer-programming algorithm solves the largest instance in about a half hour while the branch-and-check algorithm takes about ten minutes and the backtracking algorithm less than five minutes. Finally, for every algorithm, we also study empirically the transition from a high to a low probability of a YES answer as function of the number of arcs divided by the number of vertices.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Coloring Graphs Using Two Colors While Avoiding Monochromatic Cycles

Avoiding Monochromatic Cycles Fabrice Talla Nobibon HEC-Management School, University of Liège, Rue Louvrex 14, Building N1, B-4000 Liège, Belgium, [email protected] Cor A.J. Hurkens Eindhoven University of Technology, Department of Mathematics and Computer Science. P.O. Box 513, 5600 MB Eindhoven, the Netherlands, [email protected] Roel Leus, Frits C.R. Spieksma University of Leuve...

متن کامل

On Colorings Avoiding a Rainbow Cycle and a Fixed Monochromatic Subgraph

Let H and G be two graphs on fixed number of vertices. An edge coloring of a complete graph is called (H,G)-good if there is no monochromatic copy of G and no rainbow (totally multicolored) copy of H in this coloring. As shown by Jamison and West, an (H,G)-good coloring of an arbitrarily large complete graph exists unless either G is a star or H is a forest. The largest number of colors in an (...

متن کامل

Paths and cycles in colored graphs

Let G be an (edge-)colored graph. A path (cycle) is called monochromatic if all of its edges have the same color, and is called heterochromatic if all of its edges have different colors. In this paper, some sufficient conditions for the existence of (long) monochromatic paths and cycles, and those for the existences of long heterochromatic paths and cycles are obtained. It is proved that the pr...

متن کامل

Long Monochromatic Berge Cycles in Colored 4-Uniform Hypergraphs

Here we prove that for n ≥ 140, in every 3-coloring of the edges of K (4) n there is a monochromatic Berge cycle of length at least n− 10. This result sharpens an asymptotic result obtained earlier. Another result is that for n ≥ 15, in every 2-coloring of the edges of K n there is a 3-tight Berge cycle of length at least n− 10.

متن کامل

Chromatic Sums for Colorings Avoiding Monochromatic Subgraphs

Given graphs G and H, a vertex coloring c : V (G) → N is an H-free coloring of G if no color class contains a subgraph isomorphic to H. The H-free chromatic number of G, χ(H,G), is the minimum number of colors in an H-free coloring of G. The H-free chromatic sum of G, Σ(H,G), is the minimum value achieved by summing the vertex colors of each H-free coloring of G. We provide a general bound for ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010